<template>
    <div class="bread">
        <router-link :to="{name:item.name}" v-for="item in aaa" :key="item.name">{{item.meta.name}}</router-link>

    </div>
</template>
<script setup>
import { toRefs,watchEffect } from 'vue';
    let props = defineProps(['aaa'])
    let {aaa} = toRefs(props)
    watchEffect(()=>{
        console.log(aaa);
        console.log(props);
    })
</script>